home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 301-325 / disk_309 / sksh / addendum1.1.doc < prev    next >
Text File  |  1992-05-06  |  8KB  |  331 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.                               Addendum for Version 1.1
  17.  
  18.                                         SKSH
  19.  
  20.                            A ksh-like Shell for the Amiga
  21.  
  22.                                      Version 1.3
  23.  
  24.  
  25.                                (Copyright) 1989, 1990
  26.  
  27.                                      Steve Koren
  28.  
  29.                                    January 2, 1990
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.           Addendum to Version 1.1
  74.  
  75.             This document describes additions and  changes  to  SKsh  since
  76.             version 1.0.
  77.  
  78.             More Filename Compleation Features
  79.  
  80.                Two  new  filename  completion  features  have  been  added.
  81.                <esc>= will list matching filenames  and  let  you  continue
  82.                typing, and <esc>* will insert matching filenames  into  the
  83.                command line.  See the 'filename completion' section of  the
  84.                Users' Guide for more details  on  the  exact  operation  of
  85.                these new features.
  86.  
  87.  
  88.             Completed rm, cp, and mv Commands
  89.  
  90.                The 'rm', 'cp',  and  'mv'  commands  have  been  completed.
  91.                'rm'  and  'cp'  now  support  a  -r  flag   for   recursive
  92.                operations, and all three  support  a  '-v'  (verbose)  flag
  93.                which prints the file names as they are operated upon.
  94.  
  95.                The only remaining addition is a -c (clone) option  to  'cp'
  96.                which keeps date stamps and file permissions  intact.   I'll
  97.                add this as soon as I figure out how.
  98.  
  99.  
  100.             Command Line Editing changes
  101.  
  102.                The word-based command line  editing  features  now  have  a
  103.                slightly more intuitive idea of what a 'word' is.
  104.  
  105.  
  106.             Return Code bug fixed
  107.  
  108.                Version 1.0 contained a bug which "lost" return  codes  from
  109.                external commands.  This means that, for example,  the  'cmp
  110.                -s' command could not be used in  a  test  statement.   This
  111.                bug has been fixed in 1.1.  Also, $? is set accordingly.
  112.  
  113.  
  114.             '.' (source) bug fixed
  115.  
  116.                An error in the .skshinit script has been  fixed.   '.'  now
  117.                can be used to 'source' a file  if  the  '.'  is  the  first
  118.                command on the line.  This was  broken  in  1.0,  since  the
  119.                alias definition read:
  120.  
  121.                  alias   .   ='source'
  122.  
  123.                instead of the correct:
  124.  
  125.                  alias '.'   ='source'
  126.  
  127.  
  128.  
  129.           SKSH Amiga Shell             Page 2              Addendum to 1.1
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.             Superflous directory lock bug fixed
  140.  
  141.                SKsh 1.0 often neglected to  UnLock()  directories  after  a
  142.                directory scan.  The directories could not then be  removed.
  143.                This bug has been fixed in 1.1.
  144.  
  145.  
  146.             export bug fixed
  147.  
  148.                A bug in 1.0 caused 'export' to incorrectly  set  the  value
  149.                of the AmigaDos environment variable.  This has been fixed.
  150.  
  151.                However, a bug  in  either  the  compiler  or  OS  is  still
  152.                preventing  'getenv'  from  working   correctly.    I   have
  153.                isolated this bug in a 5-line test  program,  but  I  cannot
  154.                fix it since it does not seem to be an SKsh bug.
  155.  
  156.  
  157.             cp acts friendlier upon file write error
  158.  
  159.                In 1.0, the 'cp' command would try to  write  all  remaining
  160.                files even if one file had a write-error.  This  meant  that
  161.                the 'disk  full'  requester  would  appear  multiple  times.
  162.                This bug has been fixed in 1.1, and 'cp' gives up after  the
  163.                first  file  write  error.   In  addition,   the   partially
  164.                completed file is properly UnLocked.
  165.  
  166.  
  167.             Break key now works during directory scan
  168.  
  169.                You can now type ^c during a directory scan, and  SKsh  will
  170.                halt the scan.  This is useful when you a 'dir'  on  a  full
  171.                directory and then realize you don't need the information.
  172.  
  173.  
  174.             SKsh is now "pure"
  175.  
  176.                SKsh can now be made resident.   This  costed  about  3K  of
  177.                executable size, but will save  about  70k  bytes  for  each
  178.                subsequent invokation of SKsh.  In order for  this  to  work
  179.                correctly, SKsh must be invoked from the AmigaDos 'shell'.
  180.  
  181.  
  182.             Documenation updates
  183.  
  184.                The documentation has been updated to  reflect  the  changes
  185.                in 1.1, and some documentation bugs  have  been  fixed.   In
  186.                addition, I  added  a  'Hints.doc'  file.   I  will  include
  187.                helpful hints and "neat" things in this file as I  encounter
  188.                them.  For example, this 'Hints.doc.' file has  instructions
  189.                for making 'newcli'  automatically  start  a  resident  SKsh
  190.                program, and the SKsh 'exit'  command  automatically  remove
  191.                this window when  SKsh  completes.   If  you  have  anything
  192.                which you think may be helpful to other people, send  it  to
  193.  
  194.  
  195.           SKSH Amiga Shell             Page 3              Addendum to 1.1
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.                me and I might include it in that file.
  206.  
  207.  
  208.             Shell function memory leak bug fixed
  209.  
  210.                In version 1.0, about 90 bytes of memory were lost for  each
  211.                function that was run.  This bug has been fixed  in  version
  212.                1.1.
  213.  
  214.  
  215.             New backward-delete word editing command
  216.  
  217.                A backard delete word editing command has  been  added.   It
  218.                is mapped to <esc><backspace>.
  219.  
  220.  
  221.             New Run function to search SKsh path
  222.  
  223.                A new 'run' function has been  defined  in  .skshinit  which
  224.                searches  the  sksh  $PATH.   This   avoides   the   awkward
  225.                construction of:
  226.  
  227.                  run $(which command) args
  228.  
  229.                You can examine the  definition  of  this  function  in  the
  230.                .skshinit file.
  231.  
  232.  
  233.             Change to automatic non-SKsh shell script detection
  234.  
  235.                SKsh now accepts '/*' in addition to '#!' and  ';!'  as  the
  236.                first two characters  of  a  non-SKsh  shell  script.   This
  237.                change was made  in  an  attempt  to  provide  Arexx  script
  238.                support, but please note that I don't have Arexx and I  have
  239.                never tried this.  I have just been  told  that  Arexx  uses
  240.                '/*' as the begin comment character.  Something like:
  241.  
  242.                  /*rx
  243.                  */
  244.  
  245.                At the beginning of an Arexx script *might*  work,  involing
  246.                the Arexx script without an explicit 'rx'  call.   Again,  I
  247.                have not tested this.
  248.  
  249.  
  250.           Other Notes
  251.  
  252.             This will probably be the last 'beta' version  of  SKsh.   That
  253.             is, consider this  version  to  still  be  in  the  'debugging'
  254.             stages.  It is more stable than the first, but I'm  sure  there
  255.             are still some bugs that need to be  worked  out.   I  hope  to
  256.             find most of the serious ones by  the  next  release.   In  the
  257.             meantime, this version is more robust then 1.0.
  258.  
  259.  
  260.  
  261.           SKSH Amiga Shell             Page 4              Addendum to 1.1
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.             One final note: be sure that you re-install the .skshinit  file
  272.             in the s: directory, since it has  changed  from  version  1.0.
  273.             The .skshrc file has not changed, so that one need not  be  re-
  274.             installed.
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.           SKSH Amiga Shell             Page 5              Addendum to 1.1
  328.  
  329.  
  330.  
  331.